﻿<li>
    <div class="wuimg">
        <a href='@Url.Action("UserView")/${AuthorID}'>
            <img alt="${Author}" title="${Author}" src="@Url.Action("ShowPhoto32", "AsyncData")/${AuthorID}" border="0" />
        </a>
    </div>
    <div class="wmain">
        <a href='@Url.Action("UserView")/${AuthorID}'>${Author}</a><abbr class='timeago'
            title='${ISO8601Date}'>
            ${ActionDate}</abbr>
        <p class="sentence">
            ${Sentence}
        </p>
        <p class="description">
            ${Description}
        </p>
        <p>
            ${MoreInformation}
        </p>
        <a class="smallLink" target="_blank" href="${URLDetail}">Details</a><span class="smallLink"> | </span>
        <a class="smallLink" href="#" onclick="return OpenCommentDiaglog(${ID});">Comments</a>
        {{if ProjectName!=null}} <span class="smallLink">| </span><a class="smallLink" href='@Url.Action("Project", "Config")/${ProjectID}'>${ProjectName}</a>{{/if}} {{if Comments!=null}}
        <ul class="WallComments  ui-corner-all">
            {{each(i,item) Comments}}
            <li>
                <div>
                    <a href="@Url.Action("UserView")/${item.AuthorID}">
                        <img alt="${item.Author}" Title="${item.Author}" src="@Url.Action("ShowPhoto16", "AsyncData")/${item.AuthorID}" border="0" /></a>
                </div>
                <p class="WCTitle">
                    <a href="@Url.Action("UserView")/${item.AuthorID}">${item.Author}</a>
                    <abbr class='timeago' title='${item.ISO8601Date}'>
                        ${item.Date}</abbr>
                </p>
                {{if item.CanDelete}}<a class="WCDC" href="#" onclick="return DeleteComment(${item.ID});"></a>{{/if}}
                <p>
                    ${item.Comment}
                </p>
            </li>
            {{/each}}
        </ul>
        {{/if}}
    </div>
</li>
